<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/FeatureRelation.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">FeatureRelation.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_feature_relation_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;<a class="code" href="_feature_8h.html">Feature.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="foldopen" id="foldopen00008" data-start="{" data-end="};">
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html">    8</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_feature_relation.html">FeatureRelation</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_object.html">Object</a> {</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>    <span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00011" data-start="{" data-end="};">
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1">   11</a></span>        <span class="keyword">enum class</span> <a class="code hl_enumeration" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1">RelationType</a> {</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1ab61773b9b3968a9988d765d728985862">GENERAL</a>,                </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1a5f97ae00ea99ebe654ca4662cb014e6f">GEOLOGICAL_HISTORY</a>,     </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1ac0241eae411627c19ba9835b6d194b1c">CONTACT</a>,                </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1a1bb190c32d6e18803c9c3e179da75485">INTRUSIVE</a>,              </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1a3571e3239fa7d7c3305cf53f6a976a5e">GEOLOGICAL_STRUCTURE</a>,   </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1af4c9f5462147735029052b713da1ce44">AGGREGATION</a>,            </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1aa52f733b0e51d9a568fababbc8d3a518">BOUNDARY</a>                </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span>        };</div>
</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#aaffc27f877c4985e5e4ceaf6ddd77a9e">   22</a></span>        <span class="keyword">static</span> <a class="code hl_enumeration" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1">RelationType</a> <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#aaffc27f877c4985e5e4ceaf6ddd77a9e">NameToFeatureRelationType</a>(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#afa691ab91a499e11322ce7442def121c">   23</a></span>        <span class="keyword">static</span> std::string <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#afa691ab91a499e11322ce7442def121c">FeatureRelationTypeToName</a>(<a class="code hl_enumeration" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1">RelationType</a> t);</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a3f9c3fe877dd542f3fa5451884dbca23">   27</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#a3f9c3fe877dd542f3fa5451884dbca23">FeatureRelation</a>(<a class="code hl_enumeration" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1">RelationType</a> type);</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#af61136bddbe391594c32ad7ed3047f4c">   28</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#af61136bddbe391594c32ad7ed3047f4c">~FeatureRelation</a>();</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a9277c7d5b6e8fa83fdd7152b5b63a648">   32</a></span>        <a class="code hl_enumeration" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1">RelationType</a> <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#a9277c7d5b6e8fa83fdd7152b5b63a648">GetRelationType</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#aa62ac76473834d8dff59342a659c553c">   36</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_feature_relation.html">FeatureRelation</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#aa62ac76473834d8dff59342a659c553c">SetName</a>(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a9b3245f5cb64aa134043ce052674caaa">   37</a></span>        <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#a9b3245f5cb64aa134043ce052674caaa">GetName</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a698544a66e81b4089a637cf1235b8be0">   45</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_feature_relation.html">FeatureRelation</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#a698544a66e81b4089a637cf1235b8be0">SetSourceFeatureId</a>(<span class="keyword">const</span> std::string&amp; featureId);</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#aa9bc6d00b6ea29af4a451529b83ad441">   49</a></span>        <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#aa9bc6d00b6ea29af4a451529b83ad441">GetSourceFeatureId</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#aeeae150e3ff462fc7c74ef094ad62472">   54</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_feature_relation.html">FeatureRelation</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#aeeae150e3ff462fc7c74ef094ad62472">SetSourceRole</a>(<span class="keyword">const</span> std::string&amp; role);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a54d0a19af8ec3d31d7f69c12c0cea3e1">   58</a></span>        <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#a54d0a19af8ec3d31d7f69c12c0cea3e1">GetSourceRole</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#aa75a1ce82d3b4e90b735014ea8ed91b5">   65</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#aa75a1ce82d3b4e90b735014ea8ed91b5">AddTargetFeatureId</a>(<span class="keyword">const</span> std::string&amp; featureId);</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a5925b0191a576f3787f889ff14171a6e">   69</a></span>        <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#a5925b0191a576f3787f889ff14171a6e">GetTargetFeatureCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a2655d18ac7692a6d76467b16f28c2839">   74</a></span>        <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#a2655d18ac7692a6d76467b16f28c2839">GetTargetFeatureId</a>(<span class="keywordtype">int</span> i);</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a052a651ec96f05f782b2012ecb722a84">   79</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_feature_relation.html">FeatureRelation</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#a052a651ec96f05f782b2012ecb722a84">SetTargetRole</a>(<span class="keyword">const</span> std::string&amp; role);</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a2a1c602ea52add827d8791e8e2454ef7">   83</a></span>        <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classgeo3dml_1_1_feature_relation.html#a2a1c602ea52add827d8791e8e2454ef7">GetTargetRole</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span> </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#aa30899f508ad96a0a78714a23536c191">   88</a></span>        <a class="code hl_enumeration" href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1">RelationType</a> <a class="code hl_variable" href="classgeo3dml_1_1_feature_relation.html#aa30899f508ad96a0a78714a23536c191">type_</a>;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#ad49e23cfc18c0c39f83ca6e1d37344cb">   91</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_feature_relation.html#ad49e23cfc18c0c39f83ca6e1d37344cb">name_</a>;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a1fc5d6e39c928510b862c21bb1dc9f0c">   94</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_feature_relation.html#a1fc5d6e39c928510b862c21bb1dc9f0c">sourceFeatureId_</a>;</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#ad2be852f34620dd180455fac4e67118f">   96</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_feature_relation.html#ad2be852f34620dd180455fac4e67118f">sourceRole_</a>;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a70f393c173f2cca9f0991486817f5fff">   99</a></span>        std::vector&lt;std::string&gt; <a class="code hl_variable" href="classgeo3dml_1_1_feature_relation.html#a70f393c173f2cca9f0991486817f5fff">targetFeatureIds_</a>;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_feature_relation.html#a5dcdcd8048a8c365225ceacf0c44b132">  101</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_feature_relation.html#a5dcdcd8048a8c365225ceacf0c44b132">targetRole_</a>;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>    };</div>
</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>}</div>
<div class="ttc" id="a_feature_8h_html"><div class="ttname"><a href="_feature_8h.html">Feature.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html">geo3dml::FeatureRelation</a></div><div class="ttdoc">地质要素的关系。</div><div class="ttdef"><b>Definition</b> FeatureRelation.h:8</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a052a651ec96f05f782b2012ecb722a84"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a052a651ec96f05f782b2012ecb722a84">geo3dml::FeatureRelation::SetTargetRole</a></div><div class="ttdeci">FeatureRelation &amp; SetTargetRole(const std::string &amp;role)</div><div class="ttdoc">设置目标地质要素在关系中的角色。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a1fc5d6e39c928510b862c21bb1dc9f0c"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a1fc5d6e39c928510b862c21bb1dc9f0c">geo3dml::FeatureRelation::sourceFeatureId_</a></div><div class="ttdeci">std::string sourceFeatureId_</div><div class="ttdoc">源地质要素的ID。</div><div class="ttdef"><b>Definition</b> FeatureRelation.h:94</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a2655d18ac7692a6d76467b16f28c2839"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a2655d18ac7692a6d76467b16f28c2839">geo3dml::FeatureRelation::GetTargetFeatureId</a></div><div class="ttdeci">const std::string &amp; GetTargetFeatureId(int i)</div><div class="ttdoc">查询目标地质要素的ID。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a2a1c602ea52add827d8791e8e2454ef7"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a2a1c602ea52add827d8791e8e2454ef7">geo3dml::FeatureRelation::GetTargetRole</a></div><div class="ttdeci">const std::string &amp; GetTargetRole() const</div><div class="ttdoc">取目标地质要素在关系中的角色。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a3f9c3fe877dd542f3fa5451884dbca23"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a3f9c3fe877dd542f3fa5451884dbca23">geo3dml::FeatureRelation::FeatureRelation</a></div><div class="ttdeci">FeatureRelation(RelationType type)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a54d0a19af8ec3d31d7f69c12c0cea3e1"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a54d0a19af8ec3d31d7f69c12c0cea3e1">geo3dml::FeatureRelation::GetSourceRole</a></div><div class="ttdeci">const std::string &amp; GetSourceRole() const</div><div class="ttdoc">取源地质要素在关系中的角色。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a5925b0191a576f3787f889ff14171a6e"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a5925b0191a576f3787f889ff14171a6e">geo3dml::FeatureRelation::GetTargetFeatureCount</a></div><div class="ttdeci">int GetTargetFeatureCount() const</div><div class="ttdoc">查询目标地质要素的数目。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a5dcdcd8048a8c365225ceacf0c44b132"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a5dcdcd8048a8c365225ceacf0c44b132">geo3dml::FeatureRelation::targetRole_</a></div><div class="ttdeci">std::string targetRole_</div><div class="ttdoc">目标地质要素在关系中的角色。</div><div class="ttdef"><b>Definition</b> FeatureRelation.h:101</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a698544a66e81b4089a637cf1235b8be0"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a698544a66e81b4089a637cf1235b8be0">geo3dml::FeatureRelation::SetSourceFeatureId</a></div><div class="ttdeci">FeatureRelation &amp; SetSourceFeatureId(const std::string &amp;featureId)</div><div class="ttdoc">设置关系中的源地质要素。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a70f393c173f2cca9f0991486817f5fff"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a70f393c173f2cca9f0991486817f5fff">geo3dml::FeatureRelation::targetFeatureIds_</a></div><div class="ttdeci">std::vector&lt; std::string &gt; targetFeatureIds_</div><div class="ttdoc">目标地质要素的ID。</div><div class="ttdef"><b>Definition</b> FeatureRelation.h:99</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a7931f9f098255e87c30f818df50e3cc1"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1">geo3dml::FeatureRelation::RelationType</a></div><div class="ttdeci">RelationType</div><div class="ttdoc">地质要素关系的类型。</div><div class="ttdef"><b>Definition</b> FeatureRelation.h:11</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a7931f9f098255e87c30f818df50e3cc1a1bb190c32d6e18803c9c3e179da75485"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1a1bb190c32d6e18803c9c3e179da75485">geo3dml::FeatureRelation::RelationType::INTRUSIVE</a></div><div class="ttdeci">@ INTRUSIVE</div><div class="ttdoc">侵入体与围岩形成侵入关系，其中关系的名称是“侵入”，源地质要素的角色是“侵入体”，目标地质要素的角色是“围岩”。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a7931f9f098255e87c30f818df50e3cc1a3571e3239fa7d7c3305cf53f6a976a5e"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1a3571e3239fa7d7c3305cf53f6a976a5e">geo3dml::FeatureRelation::RelationType::GEOLOGICAL_STRUCTURE</a></div><div class="ttdeci">@ GEOLOGICAL_STRUCTURE</div><div class="ttdoc">其它地质构造关系。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a7931f9f098255e87c30f818df50e3cc1a5f97ae00ea99ebe654ca4662cb014e6f"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1a5f97ae00ea99ebe654ca4662cb014e6f">geo3dml::FeatureRelation::RelationType::GEOLOGICAL_HISTORY</a></div><div class="ttdeci">@ GEOLOGICAL_HISTORY</div><div class="ttdoc">地质历史（或地质年代）关系。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a7931f9f098255e87c30f818df50e3cc1aa52f733b0e51d9a568fababbc8d3a518"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1aa52f733b0e51d9a568fababbc8d3a518">geo3dml::FeatureRelation::RelationType::BOUNDARY</a></div><div class="ttdeci">@ BOUNDARY</div><div class="ttdoc">地质要素由作为其边界的其它地质要素包围而成的关系。该关系的源是边界所围成的地质要素，目标则是组成边界的要素。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a7931f9f098255e87c30f818df50e3cc1ab61773b9b3968a9988d765d728985862"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1ab61773b9b3968a9988d765d728985862">geo3dml::FeatureRelation::RelationType::GENERAL</a></div><div class="ttdeci">@ GENERAL</div><div class="ttdoc">通用的关系。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a7931f9f098255e87c30f818df50e3cc1ac0241eae411627c19ba9835b6d194b1c"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1ac0241eae411627c19ba9835b6d194b1c">geo3dml::FeatureRelation::RelationType::CONTACT</a></div><div class="ttdeci">@ CONTACT</div><div class="ttdoc">接触关系。如不整合接触关系，源地质要素的角色是“上覆地层”（或“下伏地层”），目标地质要素的角色是“下伏地层”（或“上覆地层”）。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a7931f9f098255e87c30f818df50e3cc1af4c9f5462147735029052b713da1ce44"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a7931f9f098255e87c30f818df50e3cc1af4c9f5462147735029052b713da1ce44">geo3dml::FeatureRelation::RelationType::AGGREGATION</a></div><div class="ttdeci">@ AGGREGATION</div><div class="ttdoc">聚合关系，表达地质要素由一个或多个其它地质要素聚合而成的关系。如某个断层面由多个小断面聚合而成，其中源表示被组成的地质要素，目标则是组成的部分。该关系可用于描述地质要素之间的普通聚合关系，不一定具有明确...</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a9277c7d5b6e8fa83fdd7152b5b63a648"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a9277c7d5b6e8fa83fdd7152b5b63a648">geo3dml::FeatureRelation::GetRelationType</a></div><div class="ttdeci">RelationType GetRelationType() const</div><div class="ttdoc">取地质要素关系的类别。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_a9b3245f5cb64aa134043ce052674caaa"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#a9b3245f5cb64aa134043ce052674caaa">geo3dml::FeatureRelation::GetName</a></div><div class="ttdeci">const std::string &amp; GetName() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_aa30899f508ad96a0a78714a23536c191"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#aa30899f508ad96a0a78714a23536c191">geo3dml::FeatureRelation::type_</a></div><div class="ttdeci">RelationType type_</div><div class="ttdoc">关系的类别。</div><div class="ttdef"><b>Definition</b> FeatureRelation.h:88</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_aa62ac76473834d8dff59342a659c553c"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#aa62ac76473834d8dff59342a659c553c">geo3dml::FeatureRelation::SetName</a></div><div class="ttdeci">FeatureRelation &amp; SetName(const std::string &amp;name)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_aa75a1ce82d3b4e90b735014ea8ed91b5"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#aa75a1ce82d3b4e90b735014ea8ed91b5">geo3dml::FeatureRelation::AddTargetFeatureId</a></div><div class="ttdeci">void AddTargetFeatureId(const std::string &amp;featureId)</div><div class="ttdoc">添加关系中的目标地质要素。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_aa9bc6d00b6ea29af4a451529b83ad441"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#aa9bc6d00b6ea29af4a451529b83ad441">geo3dml::FeatureRelation::GetSourceFeatureId</a></div><div class="ttdeci">const std::string &amp; GetSourceFeatureId() const</div><div class="ttdoc">取关系中的源地质要素的ID。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_aaffc27f877c4985e5e4ceaf6ddd77a9e"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#aaffc27f877c4985e5e4ceaf6ddd77a9e">geo3dml::FeatureRelation::NameToFeatureRelationType</a></div><div class="ttdeci">static RelationType NameToFeatureRelationType(const std::string &amp;name)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_ad2be852f34620dd180455fac4e67118f"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#ad2be852f34620dd180455fac4e67118f">geo3dml::FeatureRelation::sourceRole_</a></div><div class="ttdeci">std::string sourceRole_</div><div class="ttdoc">源地质要素在关系中的角色。</div><div class="ttdef"><b>Definition</b> FeatureRelation.h:96</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_ad49e23cfc18c0c39f83ca6e1d37344cb"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#ad49e23cfc18c0c39f83ca6e1d37344cb">geo3dml::FeatureRelation::name_</a></div><div class="ttdeci">std::string name_</div><div class="ttdoc">关系的名称。</div><div class="ttdef"><b>Definition</b> FeatureRelation.h:91</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_aeeae150e3ff462fc7c74ef094ad62472"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#aeeae150e3ff462fc7c74ef094ad62472">geo3dml::FeatureRelation::SetSourceRole</a></div><div class="ttdeci">FeatureRelation &amp; SetSourceRole(const std::string &amp;role)</div><div class="ttdoc">设置源地质要素在关系中的角色。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_af61136bddbe391594c32ad7ed3047f4c"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#af61136bddbe391594c32ad7ed3047f4c">geo3dml::FeatureRelation::~FeatureRelation</a></div><div class="ttdeci">virtual ~FeatureRelation()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_feature_relation_html_afa691ab91a499e11322ce7442def121c"><div class="ttname"><a href="classgeo3dml_1_1_feature_relation.html#afa691ab91a499e11322ce7442def121c">geo3dml::FeatureRelation::FeatureRelationTypeToName</a></div><div class="ttdeci">static std::string FeatureRelationTypeToName(RelationType t)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_object_html"><div class="ttname"><a href="classgeo3dml_1_1_object.html">geo3dml::Object</a></div><div class="ttdef"><b>Definition</b> Geo3DML.h:7</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
